package com.web.app.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 组员任务表
 * </p>
 *
 * @author 林
 * @since 2022-09-21
 */
@TableName("task_with_student")
@ApiModel(value = "TaskWithStudent对象", description = "组员任务表")
public class TaskWithStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联的任务id")
    private Integer relationTaskId;

    @ApiModelProperty("关联学生id")
    private Integer relationStudentId;

    @ApiModelProperty("得分")
    private BigDecimal score;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("逻辑删除：0=未删除，1=删除")
    private Integer isDeleted;

    private String stuName;

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRelationTaskId() {
        return relationTaskId;
    }

    public void setRelationTaskId(Integer relationTaskId) {
        this.relationTaskId = relationTaskId;
    }

    public Integer getRelationStudentId() {
        return relationStudentId;
    }

    public void setRelationStudentId(Integer relationStudentId) {
        this.relationStudentId = relationStudentId;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "TaskWithStudent{" +
        "id=" + id +
        ", relationTaskId=" + relationTaskId +
        ", relationStudentId=" + relationStudentId +
        ", score=" + score +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", isDeleted=" + isDeleted +
        ", stuName=" + stuName +
        "}";
    }
}
